<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
App::import('Core', 'l10n');//将错误信息本地化或国际化

class AppController extends Controller{
    var $components = array('Auth','Cookie','Session');
    var $helpers = array('Session','Html','Cache','Form');

    function beforeFilter(){
        $this->Auth->userModel = 'User';
    }
}
?>
